package it.unibo.refolding.alg;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * struct rb_root
 */
public class RbRoot<T extends Comparable<T>>  {

	RbNode<T> node;
	
	public boolean isEmpty() {
		return node == null;
	}
	
    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
